package com.newtouch.bxzs.syslog.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.newtouch.bxzs.common.base.model.bo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 交易日志实体VO
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020年12月18日</td>
 * <td>renyi</td>
 * <td>Update</td>
 * </tr>
 * </table>
 *
 * @author renyi
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("交易日志实体VO")
public class LogTransactionVO extends PageParam implements Serializable {

	/** serialVersionUID */
	private static final long serialVersionUID = -3305674301297108361L;

	@ApiModelProperty(value = "开始时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date startTime;

	@ApiModelProperty(value = "结束时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date endTime;

	@ApiModelProperty(value = "交易状态，1:成功 0:失败")
	private Boolean isSuccess;

	@ApiModelProperty(value = "交易类型，1-新增；2-修改；3-删除；4-查询；5-其他；")
	private Integer userOperationType;

}
